package com.qdc.datacenters.domain.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;


/**
 * 敏感词触发结果(SensitiveWordsResult)表实体类
 *
 * @author danmo
 * @since 2024-03-11 16:13:58
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("sensitive_words_result")
public class SensitiveWordsResult extends BaseEntity implements Serializable {
  private static final long serialVersionUID = 480939223482875842L;
   
    /**
     *  主键id
     */

    @Schema(description = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;


     
    /**
     *  敏感词ID 
     */
    @Schema(description = "敏感词ID")
    @TableField("st_id")
    private Long stId;
    
    
     
    /**
     *  消息ID 
     */
    @Schema(description = "消息ID")
    @TableField("msg_id")
    private Long msgId;
    
    
     
    /**
     *  触发敏感词 
     */
    @Schema(description = "触发敏感词")
    @TableField("words")
    private String words;
    
    
     
    /**
     *  发送时间 
     */
    @Schema(description = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("send_time")
    private Date sendTime;
    
    
     
    /**
     *  触发人类型   1-员工  2-客户 
     */
    @Schema(description = "触发人类型   1-员工  2-客户")
    @TableField("type")
    private Integer type;
    
    
     
    /**
     *  聊天类型   1-单聊  2-群聊 
     */
    @Schema(description = "聊天类型   1-单聊  2-群聊")
    @TableField("chat_type")
    private Integer chatType;
    
    
     
    /**
     *  触发人ID 
     */
    @Schema(description = "触发人ID")
    @TableField("effect_id")
    private Long effectId;
    
    
     
    /**
     *  目标ID 
     */
    @Schema(description = "目标ID")
    @TableField("target_id")
    private Long targetId;


}

